<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div class="box">
			<!--<ul>
				<li>
					<p id = "2">腾讯新闻</p>
				</li>
			</ul>-->
		</div>
	</body>
	<script type="text/javascript">
		const box = document.querySelector(".box");
		let id = 1;
		let title = "腾讯新闻";
		let str = "";
//		str = "<ul><li><p id="+id+">"+title+"</p></li></ul>";
		str = `
			<ul>
				<li>
					<p id = "${id}">${title}</p>
				</li>
			</ul>
		`;
		box.innerHTML = str;
		
	</script>
</html>
